Exercise 10 (Homework 1).
(theory of languages)
Simplification of languages
Prove the following equalities between languages:
\{w\in \{a,b\}^* \mid aw=wb\}=\emptyset.
\{w\in \{a,b\}^* \mid abw=wab\}=\{ab\}^*.
Warning\{ab\}^* is not a typo, there is no “,” between a and b.
\{xy\in \{a,b\}^* \mid |x|_a=|y|_a\}=\{w\in \{a,b\}^*\mid |w|_a\in 2\mathbb N\}.
\{xy\in \{a,b\}^* \mid |x|_a=|y|_b\}=\{a,b\}^*.
\{xy\in \{a,b\}^* \mid |x|_{aa}=|y|_b\}=\{a,b\}^*.
\{w\in \{0,1\}^* \mid \mathtt{value}_2(ww^R)\in 3\mathbb N\}=\{0,1\}^*